import random

class Player:
    def __init__(self,name,startingMoney):
        self.name=name
        self.money=startingMoney
        self.focusedLocation=(-1,-1)
        self.percentageAttacking= (0.5 * random.random()) + 0.25
    def getName(self):
        return(self.name)
    def setName(self,name):
        self.name=name
    def getMoney(self):
        return(self.money)
    def setMoney(self,money):
        self.money=money
    def setFocusedLocation(self,focusedLocation):
        self.focusedLocation=focusedLocation
    def getFocusedLocation(self):
        return(self.focusedLocation)
    def getPercentageAttacking(self):
        return(self.percentageAttacking)